package com.zzyweb.rentalcarsys.entity.relationship;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhiyi
 * @date 10/9/25
 **/
@TableName("user_role")
@Data
@NoArgsConstructor
public class UserAndRole {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Integer roleId;
}
